package com.neusoft.blog.mapper;

import com.neusoft.blog.bean.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryMapper {
    List<Category> getCategory();

    int addCategory(Category category);

    int delCategory(Integer id);

    int updateCategory(Category category);

    int multiDel(@Param("ids") Integer... ids);
}
